package com.wanmait.gohome.pojo;

import java.io.Serializable;
import java.util.Date;

public class Journal implements Serializable {
    private Integer id;

    /**
	* 用户id
	*/
    private Integer userinfoId;

    /**
	* 标题
	*/
    private String title;

    /**
	* 内容
	*/
    private String info;

    /**
	* 发布时间
	*/
    private Date inputTime;

    /**
	* 遗失者id
	*/
    private Integer informationId;

    /**
	* 评论个数
	*/
    private Integer commentCount;

    /**
	* 点赞数
	*/
    private Integer likeCount;

    private Boolean enable;
    private Userinfo userinfo;//徐金鹏添加的
    private Integer  browseCount;//浏览次数

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    private String pics;//日志照片




    public Integer getBrowseCount() {
        return browseCount;
    }

    public void setBrowseCount(Integer browseCount) {
        this.browseCount = browseCount;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Integer getInformationId() {
        return informationId;
    }

    public void setInformationId(Integer informationId) {
        this.informationId = informationId;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", title=").append(title);
        sb.append(", info=").append(info);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", informationId=").append(informationId);
        sb.append(", commentCount=").append(commentCount);
        sb.append(", likeCount=").append(likeCount);
        sb.append(", enable=").append(enable);
        sb.append(", browseCount=").append(browseCount);
        sb.append(", pics=").append(pics);
        sb.append("]");
        return sb.toString();
    }
}